package com.michael.admin.rpc;

import com.michael.comm.biz.resp.LoginResponse;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("rpc")
public class LoginRpc {

    /**
     * 返回用户角色信息
     * @param accountId
     * @param accountPwd
     */
    @PostMapping("login")
    public LoginResponse login(@Param("accountId") Long accountId, @Param("accountPwd") String accountPwd){

        return new LoginResponse();
    }
}
